package com.tang.campus_market.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @ Author     ：Marine.Li
 * @ Date       ：Created in 13:52 2021/8/5
 * @ Description：订单实体类
 * @ Modified By：
 * @Version: 1.0.0$
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("market_order")
public class Order {
    @TableId(value = "id",type = IdType.AUTO)
    private int id;

    private String goodName;

    private String seller;

    private int sellerId;

    private String customer;

    private int customerId;

    private int goodId;

    private BigDecimal money;

    private String submitDate;

    private String endDate;

    private int status;
}
